// @ts-ignore
import result from '/@utils/Axios.ts'

export function userList(query:any) {
    return result({
        url:'/api/hzadmin/userlist/',
        method:'get',
        params:query,
    })
}

export function userAdd(data:any) {
    return result({
        url:'/api/hzadmin/userlist/',
        method:'put',
        data:data,
    })
}

export function userUpdate(data:any) {
    return result({
        url:'/api/hzadmin/userlist/',
        method:'post',
        data:data,
    })
}

export function userDelete(data:any) {
    return result({
        url:'/api/hzadmin/userlist/',
        method:'delete',
        params:data,
    })
}